/**
 * HTTP 工具统一导出
 */
import { request } from "./request"
import { setupInterceptors } from "./interceptors"
import { downloadFile, uploadFile } from "./upload"

// 设置拦截器
setupInterceptors(request)

export { request, uploadFile, downloadFile }
export { request as http }
export default request
